package com.bootdo.mall.dao;

import com.bootdo.mall.domain.MallOrderLog;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 订单日志
 * @author haojiangbo
 * @email 2100272728@qq.com
 * @date 2019-10-25 16:19:47
 */
@Mapper
public interface MallOrderLogDao {

	MallOrderLog get(Long id);
	
	List<MallOrderLog> list(Map<String,Object> map);
	
	int count(Map<String,Object> map);
	
	int save(MallOrderLog mallOrderLog);
	
	int update(MallOrderLog mallOrderLog);


	int updateIsTuiKuanById (@Param("id")Long id,
							   @Param("num")Integer num
	);

	
	int remove(Long id);
	
	int batchRemove(Long[] ids);
}
